package com.example.cloudcashierpos.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.util.Date;
import org.greenrobot.greendao.annotation.Generated;

@Entity
public class corecmsfoodtask {
    // 序列
    @Id
    private long id;
    // 品牌id
    private Integer corpId;
    // 门店id
    private Integer storeId;
    // 做法分组id
    private long taskTypeId;
    // 做法名称
    private String name;
    // 加价方式0不加价；1.固定加价；2按重量加价
    private Integer addPriceWay;
    // 价格
    private double price;
    // 是否通用
    private int currencyFlag;
    // 是否上架
    private Boolean onLine;
    // 是否共享
    private Boolean isShare;
    // 拼音简码
    private String pinYin;
    // 是否删除
    private Boolean isDelete;
    // 更新时间
    private Date updateTime;
    // 修改时间
    private Long modifyTime;
    @Generated(hash = 243830305)
    public corecmsfoodtask(long id, Integer corpId, Integer storeId,
            long taskTypeId, String name, Integer addPriceWay, double price,
            int currencyFlag, Boolean onLine, Boolean isShare, String pinYin,
            Boolean isDelete, Date updateTime, Long modifyTime) {
        this.id = id;
        this.corpId = corpId;
        this.storeId = storeId;
        this.taskTypeId = taskTypeId;
        this.name = name;
        this.addPriceWay = addPriceWay;
        this.price = price;
        this.currencyFlag = currencyFlag;
        this.onLine = onLine;
        this.isShare = isShare;
        this.pinYin = pinYin;
        this.isDelete = isDelete;
        this.updateTime = updateTime;
        this.modifyTime = modifyTime;
    }
    @Generated(hash = 595971177)
    public corecmsfoodtask() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public Integer getCorpId() {
        return this.corpId;
    }
    public void setCorpId(Integer corpId) {
        this.corpId = corpId;
    }
    public Integer getStoreId() {
        return this.storeId;
    }
    public void setStoreId(Integer storeId) {
        this.storeId = storeId;
    }
    public long getTaskTypeId() {
        return this.taskTypeId;
    }
    public void setTaskTypeId(long taskTypeId) {
        this.taskTypeId = taskTypeId;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public Integer getAddPriceWay() {
        return this.addPriceWay;
    }
    public void setAddPriceWay(Integer addPriceWay) {
        this.addPriceWay = addPriceWay;
    }
    public double getPrice() {
        return this.price;
    }
    public void setPrice(double price) {
        this.price = price;
    }
    public int getCurrencyFlag() {
        return this.currencyFlag;
    }
    public void setCurrencyFlag(int currencyFlag) {
        this.currencyFlag = currencyFlag;
    }
    public Boolean getOnLine() {
        return this.onLine;
    }
    public void setOnLine(Boolean onLine) {
        this.onLine = onLine;
    }
    public Boolean getIsShare() {
        return this.isShare;
    }
    public void setIsShare(Boolean isShare) {
        this.isShare = isShare;
    }
    public String getPinYin() {
        return this.pinYin;
    }
    public void setPinYin(String pinYin) {
        this.pinYin = pinYin;
    }
    public Boolean getIsDelete() {
        return this.isDelete;
    }
    public void setIsDelete(Boolean isDelete) {
        this.isDelete = isDelete;
    }
    public Date getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
    public Long getModifyTime() {
        return this.modifyTime;
    }
    public void setModifyTime(Long modifyTime) {
        this.modifyTime = modifyTime;
    }
}
